<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<style type="text/css">
	div{
		width: 50px;
		height: 50px;
		background-color: pink;
		color:red;
	}
</style>
<script src="jquery-1.7.2.js"></script>
	<div><a href="">我是老范</a></div>
	<button id="dian">点击</button>
	<input type="text" name="">





</body>
</html>
<script type="text/javascript">
	// var a='你';
	// $('#num').html(a);
 // $('#dian').click(function(event) {
 // 	a+='ni';
 // 	$('#num').html(a);
 // });

 $("#dian").toggle(
  function(){
  $("div").css("background-color","green");},
  function(){
  $("div").css("background-color","red");},
  function(){
  $("div").css("background-color","yellow");}
);
</script>

 $('.addHostForm2 ',$el).append('<div class="errorText arrow-top" style="position:relative; display: inline-block; top:-60px; left: 216px; width: 348px;"><span class="icon-i">!</span><span class="error-text">两次输入密码不一致</span></div><div class="errorText arrow-top" style="position:relative; display: inline-block; top:-60px; left: 449px; width: 348px;"><span class="icon-i">!</span><span class="error-text">两次输入密码不一致</span></div>');